package com.ali.sso.common.shiro.filter;

import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.shiro.web.servlet.AdviceFilter;

/**
 * 授权处理过滤器
 * @author cwang
 */
public class AuthorizeAdviceFilter extends AdviceFilter {
	static Log logger = LogFactory.getLog(AuthorizeAdviceFilter.class);
	
	@Override
	protected boolean preHandle(ServletRequest request, ServletResponse response) throws Exception {
		HttpServletRequest httpRequest = (HttpServletRequest)request;
		HttpServletResponse httpResponse = (HttpServletResponse)response;
		
		
		//返回false，该次请求处理结束
		return false;
	}
	
}
